<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://purl.org/atom/ns#" version="0.3" xml:lang="en"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:s="http://jboss.com/products/seam/taglib">
  <f:view contentType="application/atom+xml">
  <title>#{messages['application.title']}: Latest Rounds</title>
  <link rel="alternate" type="text/html"
    href="http://localhost:8080/open18"/>
  <tagline>#{messages['application.tagline']}</tagline>
  <updated><h:outputText value="#{latestRounds[0].date}">
      <s:convertDateTime pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
    </h:outputText></updated>
  <ui:repeat var="_round" value="#{latestRounds}">
  <entry>
    <title>#{_round.golfer.name} @ #{_round.teeSet.course.name}</title>
    <link rel="alternate" type="text/html"
      href="http://localhost:8080/open18/Round.seam?roundId=#{_round.id}"/>
    <id>http://localhost:8080/open18/Round.seam?roundId=#{_round.id}</id>
    <summary type="text/plain">#{_round.totalScore}</summary>
    <published><h:outputText value="#{_round.date}">
        <s:convertDateTime pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
      </h:outputText></published>
    <updated><h:outputText value="#{_round.date}">
        <s:convertDateTime pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
      </h:outputText></updated>
  </entry>
  </ui:repeat>
  </f:view>
</feed>
